<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>简历表</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<%--	<style type="text/css">--%>
<%--	   body{--%>
<%--	     background-image: url("http://img.taopic.com/uploads/allimg/120427/53163-12042G0331866.jpg");--%>
<%--	   }--%>
<%--	</style>--%>
  </head>
  
  <body>
       <h1>简历信息管理 <br>
       
      <c:if test="${username!=null }">
          ${username}
          <a href="account/loginOut.action">退出</a>
      </c:if>
      </h1>
<%--      <form method="post"  action=""  style="margin-top: 10px;float: left;margin-left: 5%;">--%>
<%--        <input id="search"  type="text" >--%>
<%--        <input  value="查询" type="submit">--%>
<%--      </form>--%>
      <table width="90%" border="1" align="center">
         <thead>
                     <tr>
                           <td colspan="10"  align="center">  简历信息管理</td>
                     </tr>      
         </thead>
         <tbody>
            <tr align="center">
                <td>id</td>
                <td>姓名</td>
                <td>电话</td>
                <td>地址</td>
                <td>操作</td>
            </tr>
            <c:forEach items="${resumes}" var="c">
              <tr>
                <td> ${c.id}  </td>
                <td> ${c.name} </td>
                <td> ${c.phone} </td>
                <td> ${c.address} </td>
                  <td><a href="account/addResumeInfo.action">新增</a>
                  <a href="account/editResumeInfo.action?id=${c.id}">编辑</a>
                  <a href="account/deleteResumeInfo.action?id=${c.id}">删除</a></td>
              </tr>
            
            </c:forEach>
         </tbody>
      </table>
  </body>
</html>
